/* 
 *  This program is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU Affero General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU Affero General Public License for more details.
 *
 *  You should have received a copy of the GNU Affero General Public License
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 */
package com.googlecode.hmvc4gwt.example.hmvcblog.service.dto.blog;

import java.util.Date;
import java.util.List;
import java.util.Map;

import com.googlecode.hmvc4gwt.example.hmvcblog.service.dto.ADto;
import com.googlecode.hmvc4gwt.example.hmvcblog.service.dto.blog.entry.BlogEntryDTO;
import com.googlecode.hmvc4gwt.example.hmvcblog.service.dto.blog.entry.comment.BlogEntryCommentDTO;

/**
 * 
 * @author jens.meiss
 */
public class BlogEditDTO extends ADto {

	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = 1L;

	private String description;
	
	private Date dateLastUpdate;
	
	private Map<BlogEntryDTO, List<BlogEntryCommentDTO>> mapBlogEntryDTOListBlogEntryCommentDTO;

	private String title;

	private Integer id;

	public BlogEditDTO() {
	}

	public BlogEditDTO(Long sessionId) {
		super(sessionId);
	}

	public Date getDateLastUpdate() {
		return dateLastUpdate;
	}

	public String getDescription() {
		return description;
	}

	public Integer getId() {
		return id;
	}
	
	public Map<BlogEntryDTO, List<BlogEntryCommentDTO>> getMapBlogEntryDTOListBlogEntryCommentDTO() {
		return mapBlogEntryDTOListBlogEntryCommentDTO;
	}

	public String getTitle() {
		return title;
	}

	public void setDateLastUpdate(Date dateLastUpdate) {
		this.dateLastUpdate = dateLastUpdate;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public void setMapBlogEntryDTOListBlogEntryCommentDTO(
			Map<BlogEntryDTO, List<BlogEntryCommentDTO>> mapBlogEntryDTOBlogEntryCommentDTO) {
		this.mapBlogEntryDTOListBlogEntryCommentDTO = mapBlogEntryDTOBlogEntryCommentDTO;
	}

	public void setTitle(String title) {
		this.title = title;
	}

}
